// TicketClerkCustomerWhiteboard
//
// This class represents the whiteboard space for one customer-ticket clerk interaction.
// It will be protected by a monitor and will be used by a head customer and ticket clerk
// to transfer information.
//

#include "TicketStub.h"

class TicketClerkCustomerWhiteboard {
  public:
    TicketClerkCustomerWhiteboard();			// Initialize the TicketClerkCustomerWhiteboard object
    ~TicketClerkCustomerWhiteboard();			// De-allocate bitmap
    
    int getNumTickets(); 			// returns the number of tickets the customer requested
    int getTotalPrice(); 			// returns total price of the tickets reported by the clerk
	int getMoneyGiven(); 			// returns total money given by the customer
    TicketStub* getTicketStub(); 	// returns TicketStub given by the clerk
    
	void setNumTickets(int numTickets); 	// sets the number of tickets the customer requested
    void setTotalPrice(int totalPrice); 	// sets the total price of the tickets reported by the clerk
	void setMoneyGiven(int moneyGiven); 	// sets the total money given by the customer
    void setTicketStub(TicketStub* stub); 	// sets the TicketStub given by the clerk

  private:
    int numTickets;			// the size of the associated group
	int totalPrice;		// current number of popcorn to purchase
	int moneyGiven;			// current number of soda to purchase
	TicketStub* ticketStub; 	// currently held ticketStub
};
